#ifndef BM_MENU_OBJECT_H
#define BM_MENU_OBJECT_H
#ifdef __APPLE__
    #include <SDL/SDL.h>
#else
    #include <SDL/SDL.h>
	#include "BM_anitex.h"
#endif
#include <string>
/* Image type - contains height, width, and data */
struct Image {
    unsigned long sizeX;
    unsigned long sizeY;
    char *data;
};
typedef struct Image Image;

/* Object structure */
/*struct Object {
    int id; // a unique ID might be useful
    float xrot, yrot, zrot, angle;
    BMAniTex anitexture; // texture
};
typedef struct Object Object;*/

class BMMenuObject {
    private:
		BMAniTex anitex;
		float xrot, yrot, zrot;
    public:
		float angle;
        BMMenuObject(); // Init the onject
        void drawObject(int is_selected, float x,float y, float z); // draw the object
        void createObject(int n, std::string path);
        void freeObject();
       // int ImageLoad(char *filename, Image *image);
};

#endif //END BM_INPUT_H
